This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Agent that creates a document with attachments ~Hank Nimponechek 15.Jan.04 04:08 PM a Web browser Domino Designer 6.0.3Windows 2000
Sorry, no time to give you code; just some tips on what to look for and read up on.
1. Use NotesDatabase.CreateDocument and NotesDocument.ReplaceItemValue to create the document and set the form name. Then use NotesDocument.ComputeWithForm to set any defaults & computed values etc.
2. Use NotesDocument.CreateRichTextItem and NotesRichTextItem.EmbedObject to create attachments in the rich text field.
3. Use NotesDocument.ReplaceItemValue("SendTo", distributionList) and NotesDocument.Send to send the document.
For someone experienced in LotusScript this would be simple. However, since you're new to LS, I suggest you check the designer help on these methods.